package icu.feigroup.domain.trade.service;

import icu.feigroup.domain.trade.model.entity.NotifyTaskEntity;
import icu.feigroup.domain.trade.model.entity.TradePaySettlementEntity;
import icu.feigroup.domain.trade.model.entity.TradePaySuccessEntity;

import java.util.List;
import java.util.Map;

/**
 * projectName:icu.feigroup.domain.trade.service
 *
 * @author 飞
 * @since 2025/2/25 21:26
 * description:
 */
public interface ITradeSettlementOrderService {
    /**
     * 营销结算
     * @param tradePaySuccessEntity 交易支付订单实体对象
     * @return 交易结算订单实体
     */
    TradePaySettlementEntity settlementMarketPayOrder(TradePaySuccessEntity tradePaySuccessEntity) throws Exception;

    Map<String, Integer> execSettlementNotifyJob() throws Exception;
    Map<String, Integer> execSettlementNotifyJob(String teamId) throws Exception;
    Map<String,Integer> execSettlementNotifyJob(List<NotifyTaskEntity> taskEntityList) throws Exception;
}
